package org.example.StudentManagementSystem.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.sql.Date;

@Schema(description = "学生选课信息")
@Setter
@Getter
public class EnrollmentDTO {
    @Schema(description = "选课记录ID", required = true)
    private Integer id;

    @Schema(description = "学生ID", required = true)
    private Integer studentId;

    @Schema(description = "学生姓名", required = true)
    private String studentName;

    @Schema(description = "课程ID", required = true)
    private Integer courseId;

    @Schema(description = "课程名称", required = true)
    private String courseName;

    @Schema(description = "选课时间", required = true)
    private Date enrollmentTime;
}
